package com.aptemo.webetek.client.events;

import com.google.gwt.event.shared.GwtEvent;

public class LabelRemoveEvent
		extends GwtEvent<PlayerHandler>
{
	public static final GwtEvent.Type<PlayerHandler>	TYPE	= new GwtEvent.Type<PlayerHandler>();

	private String											id;

	public LabelRemoveEvent(String id)
	{
		this.id = id;
	}

	@Override
	protected void dispatch(PlayerHandler handler)
	{
		handler.onPlayerAction(id);
	}

	@Override
	public com.google.gwt.event.shared.GwtEvent.Type<PlayerHandler> getAssociatedType()
	{
		return TYPE;
	}

}
